<?php

require 'config/dbconfig.php';
//Sets the home page variable
$home = "index.php";

//Always place this code at the top of the Page
if (!isset($_SESSION['id'])) {
    // Redirection to login page twitter or facebook
    header("location: $home");
}



?>